<script type="text/javascript">
	if (typeof(LearningIndex) != 'function'){
		var arr = <?= ($this->arrJsCss != '')?$this->arrJsCss:"''"?>;			
		loadfileJsCss(arr);
	}		
</script>
<?php echo $this->leftTree;?>
<div class = "have_tree">
	<div class = "load_data_form_index ctlist">
		<form action="" method="POST" id="LearningIndexFrm" name="LearningIndexFrm" autocomplete="off">
			<!--Cac doi tuong hidden tren form-->
			<?php
				echo $this->formHidden("hdn_current_page",$this->iCurrentPage,null);
				echo $this->formHidden("hdn_record_number_page",$this->iNumberRecordPerPage,null);
				echo $this->formHidden("hdn_object_id_list","",null);
				echo $this->formHidden("hdn_list_id","",null);
				echo $this->formHidden("p_hidden_obj","",null);			
				echo $this->formHidden("ld03",'',null); 	
				echo $this->formHidden("ld03name",'',null);
				echo $this->formHidden('LD01hdn','',null); 	
				$arrConst = $this->arrConst;		
			?>
			<div class = "searh-fixed filterdata">
				<div class = "normal_title">
					<?=$this->titleBody;?>				
				</div>
				<div class="search-container info_general">	
					<table id="table-search" >
						<col width="15%"></col><col width="25%"></col><col width="15%"></col><col width="45%"></col>
						<tr>
							<td><label class="normal_label">Tìm trạng thái</label></td>
							<td>
								<select data-placeholder=" " name ="LD06" id ="LD06" style="width:90%;" class="chzn-select" tabindex="2">
									<option value="" selected="selected">---Chọn trạng thái---</option>
								<?php 	
									echo Efy_Library::_generateSelectOption($this->arrStatus,'C_CODE','C_CODE','C_NAME',$this->status);
								?>
							</select></td>
						</tr>
						<tr>
							<td><input type = "button" value = "Tìm kiếm" class = "link-button searchbtn" id = "searchbtn"></td>
							<td colspan="3"><input type="text" class="textbox" id="ld15" name="ld15"></td>	
						</tr>
				</table>
				</div>
				<div align="right" class="button-link-container">
					<div class="blc-left">
                        <div style="font-family: arial; font-size: 13px; font-weight: bold;">
                            <input type="checkbox" onclick="checkbox_all_item_id(document.forms[0].chk_item_id);markcheck();" id="chk_all_item_id" name="chk_all_item_id"><label for="chk_all_item_id">Chọn tất cả</label>
                        </div>
					</div>
					<div class="blc-right">				
						<input type="button" style="display:inline" class="link-button addrecord" value="Thêm" title="Thêm" id="add">
						<input type="button" class="link-button editecord" value="Sửa" title="Sửa" id="edit">
						<input type="button" style="display:inline" class="link-button deleterecord" value="Xóa" title="Xóa" id="delete">
						<input type="button" style="display:inline" class="link-button diaryIdea" value="Nhật ký phê duyệt" title="Nhật ký phê duyệt" id="diary">			
					</div>		
				</div>
                <div id="loadTreeUrl" class="breadcrumbs"></div>
				<!-- Action lien quan -->		
			</div>	
			<!-- Màn hình danh sách -->
			<div id = "table-container"></div>
			<!--Hien thi trang can xem!-->
			<table class="table-page-number dsppage" cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td class = "left-col small_label" valign="top">
						<small class="small_starmark" id = "sdocpertotal"></small>
					</td>
					<td class = "center-col" align="center" id = "generateStringNumberPage"></td>
					<td class = "right-col normal_label" id = "generateHtmlSelectBoxPage">Hiển thị <select class='textbox' id = 'cbo_nuber_record_page' name='cbo_nuber_record_page' optional='true' style='width:60'><?php 
						echo Efy_Library::_generateSelectOption($this->arrListItem, 'C_CODE', 'C_CODE', 'C_NAME', $this->arrListItem[0]);
					?></select>Hồ sơ/1 trang</td>
				</tr>
			</table>	
		</form>	
	</div>
	<div id = "load_data_form_update"></div>
	<div id = "load_diary"></div>
</div>
<script type="text/javascript">
	$(".chzn-select").chosen();
	baseUrl = '<?=$this->baseUrl();?>';		
	var objXmlTemp = '';
	if(typeof(myLearningIndex) === 'undefined'){						
		myLearningIndex = new LearningIndex(baseUrl,'mtl','learning','learningindexdata', objXmlTemp);			
	}else{			
		objXmlTemp = myLearningIndex.xmlData;			
		myLearningIndex = new LearningIndex(baseUrl,'mtl','learning','learningindexdata',objXmlTemp);
	}
	urlPath = myLearningIndex.urlPath;	
	fixTitle();				
	myLearningIndex.ldmod();

    $('#push-left-img,#push-left-img-hide').click(function(){
        reziseli();
    })
//    $('#push-left-hide,#left-silebar').click(function(){
//		reziseli();
//	})
</script>	
<style type="text/css">
	.jstree-default a.jstree-search {
	color: #1A62B4;
	font-weight: bold;
}
</style>